<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <title>one</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
  </head>
  <body>
    <c:set var="string" value="${word}"></c:set>
	<c:if test="${ fn:startsWith('abcdef',string)}">
    	<span>字符串abcdef以string开头！</span>
    </c:if><br>
    <c:out value="hello!"></c:out><br>
    <c:out value="${3+5}"></c:out><br>
    <c:out value="${param.data}" default="No data!"></c:out><br>
    <c:set var="username" value="吴婷怡"></c:set>
	<c:set var="sno" value="092216238"></c:set>
	<c:out value="${pageScope.username }"></c:out><br>
	<c:out value="${pageScope.sno }"></c:out><br>
  </body>
</html>
